package com.itheima.service;

import com.itheima.common.PaginationVO;
import com.itheima.vo.advVO;

import java.util.List;

public interface AdvposService {
    /**
     * 页
     *
     * @param page       页
     * @param limit      限度
     * @param advposdesc advposdesc
     * @param advposname advposname
     * @return {@link PaginationVO}<{@link advVO}>
     */
    PaginationVO<advVO> page(String page, String limit, String advposdesc, String advposname);

    /**
     * 获取所有列表
     *
     * @return {@link List}<{@link advVO}>
     */
    List<advVO> getAllList();

    void addAdvpos(advVO adv);

    advVO rowInfoAdvpos(Integer id);

    void updateAdvpos(advVO adv);

    void deleteAdvpos(Integer id);
}
